<%@ include file="/common/taglibs.jsp"%>
<%@ page language="java" pageEncoding="utf8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<title></title>
		<link rel="stylesheet"
			href="<c:url value="/css/adminsinglepage.css"/>" type="text/css" />
		<link rel="stylesheet"
			href="<c:url value='/scripts/themes/base/jquery.ui.all.css'/>"
			type="text/css" />
	</head>
	<body class="single-page">

		<div id="single-page-tbar">
			<h1>
				<img src="<c:url value="/images/transparent.gif"/>"
					class="imgbundle"
					style="width: 16px; height: 16px; background-position: 0pt -2235px;">
				<strong>正在查看:</strong>退货单 - ${orderDelivery.deliveryId }
			</h1>

			<ul class="btn-bar">
				<li>
					<button type="button" class="btn btn-quit">
						<span><span>关 闭</span> </span>
					</button>
				</li>
			</ul>
		</div>


		<div class="mainwrap" id="main">
			<div class="spage-main-box">
				<h3>
					退货单信息
				</h3>
				<div class="prepend-1">
					<form  action="" method="post">
						<input type="hidden" value="" name="delivery_id">
							<div class="span-5">
								<label>
									退货单号：
								</label>
								${orderDelivery.deliveryId }
							</div>
							<div class="span-5">
								<label>
									订单号:
								</label>
								${orderDelivery.orderId }
							</div>
							<div class="span-5">
								<label>
									配送方式:
								</label>
								${orderDelivery.deliveryName}
							</div>
							<div class="span-5">
								<label>
									操作员:
								</label>
								${orderDelivery.adminName}
							</div>
							<div class="span-5">
								<label>
									会员:
								</label>
								${orderDelivery.memberId}
							</div>
							<!-- <div class="span-5"><label>配送时间:</label>10-06-16 16:12</div>-->
							<div class="span-5">
								<label>
									退货人:
								</label>
								${orderDelivery.shipName}
							</div>
							<div class="span-5">
								<label>
									退货地区:
								</label>
								${orderDelivery.shipArea}
							</div>
							<div class="span-5">
								<label>
									退货地址:
								</label>
								${orderDelivery.shipAddr}
							</div>
							<div class="span-5">
								<label>
									邮编:
								</label>${orderDelivery.shipZip}
							</div>
							<div class="span-5">
								<label>
									电话:
								</label> ${orderDelivery.shipTel}
							</div>
							<div class="span-5">
								<label>
									手机:
								</label>
								${orderDelivery.shipMobile}
							</div>
							<div class="span-5">
								<label>
									物流公司:
								</label>
								${orderDelivery.logisticsName}
							</div>
							<div class="span-5">
								<label>
									物流费用:
								</label>
								${orderDelivery.money}
							</div>
							<div class="span-5">
								<label>
									物流单号:
								</label>
								${orderDelivery.logisticsNo}
							</div>
							<div class="span-5">
								<label>
									生成时间:
								</label>
								${orderDelivery.deliveryBeginString}
							</div>
							<div class="span-5">
								<label>
									状态:
								</label>
								${orderDelivery.deliveryStatus}
							</div>
							<hr class="space" />
								<h4>
									退货明细:
								</h4>
								<div class="division">
									<table width="100%" cellspacing="0" cellpadding="0" border="0"
										class="gridlist">
										<thead>
											<tr>
												<th>
													货号
												</th>
												<th>
													发货内容
												</th>
												<th>
													商品名称
												</th>
												<th>
													发货量
												</th>
											</tr>
										</thead>
										<tbody>
										<c:forEach items="${orderDeliveryItems}" var="item" >
											<tr>
												<td>
													${item.productBn }
												</td>
												<td>
													${item.itemType}
												</td>
												<td>
													 ${item.productName}
												</td>
												<td class="Colamount">
													${item.productCount}
												</td>
											</tr>
											</c:forEach>
										</tbody>
									</table>
								</div>
								<table cellspacing="0" cellpadding="0" border="0"
									style="margin: 0pt;" class="table-action">
									<tbody>
										<tr>
											<td>
												备注：${orderDelivery.deliveryDescription}
											</td>
										</tr>
									</tbody>
								</table>
					</form>
				</div>
			</div>

		</div>

		<div class="footBar" id="footBar">
		</div>


		<script type="text/javascript"
			src="<c:url value='/scripts/jquery-1.4.2.js'/>"></script>

		<script type="text/javascript">
	function autoHeightAndWeight() {
		$("#main").height($("body").height() - $("#single-page-tbar").height());

	}

	autoHeightAndWeight();
</script>

	</body>
</html>